fixing js compilation issues
adding rails 12factor for heroku