Add phonegap.js only at phonegap export to avoid 404 in console.