Make it more Cordova friendly.
Merge branch 'cordova' of github.com:willem-h/snelheid into cordova