changed key capture method. works on firefox all versions