Implement recommendations

Align `var` declarations, change from `.CodeMirror` to `#editor-holder`,
implement code portability.