convert install_generator and app.js to use js instead of coffeescript