JavaScript Refactoring Techniques: Specific to Generic Code JavaScript Refactoring Techniques: Specific to Generic Code