Removed widgets from mediator and added `dom.createElement()