modify controllers.js.coffee for heroku