#582: Copy classnames in 'html_form_delegator.js'

Resolves #582.