resolve JsLint warnings