Made Ajax file upload working