adding phonegap to index