clean up after JsHint warnings