JavaScript: (un)Highlighting Text #snippet