add phonegap properly