Protecting PhoneGap applications on iOS from getting suspended