adds mediator extension
adds dom namespace for dart:html