fixed multiple listeners for postMessage on EditorView