add phonegap js