moved ref to phongap.js to head