title: Pebble iOS app crash when doing ajax via JavaScript framework
body: <p>When loading some ajax via the PebbleKit JavaScript framework the app crashes, I can see via console.log() that the XMLHttpRequest.open() is called ok, but it doesn't get pass XMLHttpRequest.send().</p>
  
  <p>I have had previous similar code working fine, but I have been unable to debug this issue.</p>
  
  <p>It does not fire the onload event, nor timeout (at not that I can tell via console.log().</p>
  
  <p>All I see in the pebble console is: </p>
  
  <blockquote>
    <p>[ERROR   ] Lost connection to Pebble</p>
  </blockquote>
  
  <p>Looking at the composed url it does not appear to be malformed, and it loads ok in a desktop browser.</p>