Adding phonegap goodies