moving typeset to DOMWidgetView