public function getHeadScripts()
    {
        $output = '';
        foreach ($this->headScripts as $script) {
            $output .= $script . "\n";
        }
        $output = rtrim($output, "\n");
        return $output;
    }