Adding phonegap to the code