Cordova 3.0
compatibility to Cordova 3.0