linked phonegap.js