Used window.PhoneGap