added cordova support
replaced cordova with phonegap
added phonegap build
implemented isnative condition