client side module for firing events when keys are pressed down