public function getAllScripts() {
        $return = '';
        foreach ($this->config->get('mvc')['defaultScripts'] as $script) {
            //If the script includes the // is for example http or https absolute route
            if (strpos($script, '//') !== FALSE) {
                $return .= '<script type="text/javascript" src="' . $script . '"></script>';
            } else {
                $return .= '<script type="text/javascript" src="' . $this->asset($script, TRUE) . '"></script>';
            }
        }
        $return .= $this->scripts;
        return $return;
    }