Better dependency injection.  Introduce an output (result) div.