moved input to client side only
keydown now only fires once