#JC-1687 change place of decode URi in editor.js (was after request to server)