Added some phonegap stuff