Can now hit delete key to remove an element from the DOM
Refactored editor controller into editor.js