Small fixes for AJAX stuff.
- Removed unnecessary toString() calls
- Fixed comment and checking for timeout value
Alphabetical order
Removed unnecessary Object.prototype with toString().
Without this, toString() is called on the window, which is an object, so it's the same function (although apparently not exactly the same in Chrome using ==).