web.js tweaks for heroku