Remove unnecessary nested form elements

Fixes issue #645 where the (invalid) nested form elements would freak out IE9.