initial phonegap stuff