Changes for html5 uploads