added ajax keypresses