PEG.js online rewrite based on CodeMirror

Thanks Forbes Lindesay for this awesome CM mode.