ajax file upload fix