fixing phonegap exports