Uses Ajax-GET to verify server-contact

Simple navigator.onLine doesn't work on Android, (although it works in
Chrome) Android is the primary target for this app.
I tried offline.js but it didn't work especially not with Application
Cache. That's why I rolled my own solution.