Set up phonegap