adding phonegap script