Fix upload progressbar in IE8 and IE9

fixes #1461

Required for 5.0.1 as well.

@butonic @Raydiation @schiesbn @karlitschek THX