add file upload
update ajax uploading not tested legacy browsers