fixed error loading mpld3 into dom namespace