removed preventDefault from keydown event