public function appendScripts($scriptKey, $scripts, $isFile = true)
    {
        // if has the script key already, ignore
        if (isset($this->_extraScripts[$scriptKey])) {
            return;
        }
        // add the scripts
        if ($isFile) {
            $_scripts = "<script type='text/javascript' src=\"" . Openbizx::$app->getJsUrl() . "/$scripts\"></script>";
            $this->_extraScripts[$scriptKey] = $_scripts;
        } else {
            $this->_extraScripts[$scriptKey] = $scripts;
        }
    }