refactor upload
jquery file upload refined demo successfully