Fixed some linter issues in forms.js