got rid of uglifier reference causing errors on heroku. also added pg gem to production environment in gemfile.