public function module($name)
    {
        list($plugin, $path) = $this->_View->pluginSplit($name, false);
        if (!empty($plugin)) {
            $name = $this->Url->assetUrl($name, [
                'pathPrefix' => Configure::read('App.jsBaseUrl'),
                'ext' => '.js',
            ]);
        }
        if (!$this->_requireLoaded) {
            return $this->_preLoadModule($name);
        }
        return $this->_loadModule($name);
    }