Make sure the timeout is always cleared
Merge pull request #5 from Artur-/master

Ensure Android 4.1 uses fallback (#4)
Port fixes #5
[maven-release-plugin] prepare release javascript-project-2.0.0.RC2
[maven-release-plugin] prepare for next development iteration
Update
Fix typos in README.md
Fix maven repository IDs
allow cross origin SSE connections when enableXDR is true, fixes Atmosphere/atmosphere#1156
Merge pull request #8 from klieber/topic/issue1156

Allow cross origin SSE connections when enableXDR is true
Port fixes #8
Make JSHint(http://www.jshint.com/) happy
Make JSHint happy
Move JSHint options to the bottom
Unity the code style according to portal.js and jquery

Guide:
https://gist.github.com/flowersinthesand/6030363
http://contribute.jquery.org/style-guide/js/
Fixes #9
Format
if timeout is negative, disable timeout
Unify timeout
Fixes #11