fixed js minify bug on heroku