added phoneGap.js