fixing phonegap file API inclusion