Fixes to actually make work with phonegap/cordova
Including quick events roll