JsHint run through error corrections