updated index.js for Heroku, of course.