switching to MIT license (same as CodeMirror)
changing API