linting issues

As referenced in #54.

There was a bunch of apparently unused code in `lib/gen-types/form.js`, so I commented out for now. Is it actually used for something I missed, or should it just be removed?