Adding .timeout / .ontimeout to XMLHttpRequest

These were missing.

See here if you want some specs:
https://developer.mozilla.org/en/docs/Web/API/XMLHttpRequest