Adding phonegap stuff