don't define highlighter in global scope
locally scope smoothScroll variables