added editor js code in editor.ml
Merge branch 'dev3' of github.com:chuajiesheng/ocaml-note into dev3