I think this should be better in the object creation within the html.
So from this:
            `<label>Filter  </label><input name="filterBox" type="text" onkeyup="filterKey()"></input>`
you go to:
            `<label>Filter  </label><input name="filterBox" type="text" onkeyup="filterKey()" onkeypress="stopRKey()"></input>`