Rename generator to generator.js