private function initJs($src)
 {
     if (file_exists(CADB_PATH . "/resources/script/init.js")) {
         $script .= file_get_contents(CADB_PATH . "/resources/script/init.js");
     }
     if ($src) {
         $script .= $src;
     }
     if ($script) {
         \CADB\View\Resource::addScriptSource($script, -50, array('compress' => true));
     }
 }