Part of it, but the styling is more complicated unfortunately. I needed to make sure that the expanded JS wouldnt be too big for the box. and the editorCon height is set explicitly when it is created