altered key input handling to hopefully support backspace in a more cross-browser fashion.