rack configuration according to https://devcenter.heroku.com/articles/static-sites-ruby to be able to deploy on heroku easily
Procfile for deployment on heroku
refactoring, adding some browser detection (MessageChannel support)