Fix timeouts
Added tests for xhr timeouts
Fixed lint errors
Minor url change
Updated test
Simplified test
Removed extra stuff from test
Moved XHR test to separate file
Merge pull request #151 from amfr/fix_timeouts

Fix timeouts