5.1 compatibility + update editor.js