add phonegap library