Devise and jQuery working in browser, not yet in iOS