beginning refactor of key handlers - pulling individual key actions out of toplevel handler
handlers.js now contains backspace and enter key handlers