Changed key handling

Changed key handling from onkeydown JS to jQuery -> now it works in
Firefox too (Closed #3)