public function loadModuleAction()
 {
     $moduleName = $this->getEvent()->getRouteMatch()->getParam('jsmodule');
     $jsLoaderInstance = $this->getEvent()->getRouteMatch()->getParam('jsloader', 'default');
     $config = $this->getServiceLocator()->get('configuration');
     $moduleConfig = $config['codelinerjs.js_loader'][$jsLoaderInstance]['lazy_modules'][$moduleName];
     $scriptSrc = $this->jsLoader->loadModule($moduleName, $moduleConfig);
     return $this->getResponse()->setContent($scriptSrc);
 }
 public function indexAction()
 {
     if ($this->isQunitEnabled()) {
         $this->getEvent()->setParam("head_link", '/ajax/');
         $this->jsLoader->reset();
         $this->jsLoader->addIncludePath("Jstest", $this->testCaseLoader->getPath());
         $this->jsLoader->setPreInitLoadStack(array("Cl.Qunit.Qunit"));
         $this->jsLoader->appendPreInitLoadStack($this->testCaseLoader->getTestcases());
         return $this->getViewModel();
     }
 }