Add gemfile.lock
Renaming main.js to .js.erb and using asset path helper to render templates on heroku