Added phone gap.js