.keydown Changes

Updated the .keydown function