hsp.js for CodeMirror