improved compatibility with cordova 3.x
improved compatibility with cordova 3.x
improved compatibility with cordova 3.x