Background JavaScript on iOS with PhoneGap