attempt to fix heroku js error