ajax on file upload  and  fixed typos