Fix the Ajax progress events handling.

The event used previously, XMLHttpRequestProgressEvent, is webkit specific and is not supported by Firefox or IE.