Mobile Safari has a weird bug when a webpage is pinned to the home screen, jQuery's ajax function is used, and the page uses the canvas element. Here are some examples:
No timeout (breaks in mobile Safari when run as home screen app)
Timeout in ajax success callback (works)
Timeout after ajax block (works)