enforce limit on tags in converters.form

enforce limit on tags if provided
remove unused vars
declare undeclared vars
make JSLint happy