updated index.js for the Heroku test.