Event listeners on keyup/down and perils therein