title: Javascript error with mootools in Android Stock browser (2.2) (Uncaught SyntaxError: Unexpected end of input)
body: <p>When loading <em>Mootools More</em> from my server, Android Stock Browser (froyo 2.2 and gingerbread 2.3) flunks out and starts to complain about </p>
  
  <pre><code>Uncaught SyntaxError: Unexpected end of input
  </code></pre>
  
  <p>The problem is also reported to exist in Dolphin browser on Android Gingerbread 2.3.</p>
  
  <p>At first I figured it could be a transfer-encoding error, but no other desktop browser (msie 6-9, ff 2-4, safari, chromium) nor firefox mobile running on Android 2.3 are experiencing any encoding issues.</p>
  
  <p>My second thought was that the content-length was incorrect, and that most browsers detected this and managed it nicely, but not Android Stock browser. But after careful measurements, this theory has been proven wrong as well.</p>
  
  <p>In other WebKit browsers, this issue mostly seems to be caused by missing end brackets (<code>}</code>), but it does certainly not appear to be a probable reason for me. Because:</p>
  
  <ul>
  <li>The problem exists for both standard Mootools, unaltered, -- which should be correctly bracketed.</li>
  <li>The problem can be reproduced for multiple versions of Mootools (both 1.2 and 1.3 have been tested)</li>
  </ul>
  
  <p>Edit: The real problem was actually problem with the transfer-encoding. Deflate was allways used if the the Accept-Encoding indicated deflate or gzip. Apart from the Android browsers, Googlebot had problems with our site.</p>