add phonegap JS