setting up for phonegap