Update and rename generator.coffee to generator.js