function display($tpl = null) {
        // Let's get the response of Mouf through the Joomla's input
        $input = JFactory::getApplication()->input;
        $htmlResponse = $input->getRaw("response");


        $emitter = new \Zend\Diactoros\Response\SapiEmitter();
        $emitter->emit($htmlResponse);

        // If the request was a Json Request, you should kill the app
        if (!is_null($input->get("mouflaJson"))
            && $input->get("mouflaJson") == "true") {
            $app = JFactory::getApplication();
            $app->close();
        }
    }