Fixed JsHint issues.