Encapsulate editor js styling into editor.js file.