made multiple file upload work without using jquery-fileuploader