added phone gap.js