phonegap implements