#580: html_form.js, add defining classes for xml / file upload(s)

Resolves #580.