Extended ajax file upload