Added key binding function for undo and redo. When the key down event is triggered, check to see if keys ctrl+z or ctrl+y are pressed. If so undo or redo respectively. Otherwise return key press to browser for handling.