Refactor js

- Moved vendor caret jQuery plugin to vendor assets. 
- Seperated out the editor DOM manipulation from the recorder_view.js and moved the logic to editor.js