added upload_html function for the uploader