Update main.js

Replace methods setMarker and clearMarker with addLineClass and removeLineClass.
Update main.js
Merge pull request #1 from bashkos/master

Fix work with CodeMirror 3