added phonegap js