cordova 3.x android compatibility

Just tested OK on cordova 3.3 / Android 4.2.2