feature api phonegap