Remove unnecessary phonegap-specific javascript.