Used JsHint to fix problems with forms.js