Trying keydown instead of keyup to get Mac working