Adds onprogress handler to work on IE8