changes to ajax file upload