Maybe this will work?

Stolen code from socket-io-chat-heroku
The static site is now in "public" folder, good practice