Only add the Heroku provided secret key if we are running in production mode.
Added a precompiled routes.js for routes-js gem using the rake js:routes command.