fixing IE9 upload (potentialy some other non html5 browser)