moved onRender and onConnect params to main sharejs class
removed redundant constructors in ace and codemirror