Fix for ajax upload in IE