moved EditorControls into js, whitespacing