server.js: use xhr-polling to work on Heroku
index.html: GitHub ribbon
send mobile events only when connected