JS Refactor - GruntJS