fix progress events for non mozilla browsers

Progress events didn't work for me in Chrome or IE. This change fixes it for me.