JsLinted code, added 3 exceptions with "// jshint ignore:line" where could be helped like regexp