Modified editor.js to work without require.