fix a typo in file upload
update generated JS files