moved phonegap script