rework js files using coffeescript