try adding config.assets.precompile to explicitly tell heroku to precompile js