jQuery Mobile iPhone app stuck - have to reset phone

jQuery Mobile iPhone app stuck - have to reset phone

I have noticed this bug on my iPhone/iOS simulator.  If I let the app sit long enough, my screen will dim and then will wake up when I touch the screen again (all normal).  If I wait a few minutes and I try to hit the Home button on the iPhone nothing happens.  I have to restart my phone in order for it to become functional again.

I am using the following versions.  Any ideas?

  1. <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css" media="screen" />
  2. <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
  3. <script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>