public function writeScript($name, $source, $dependencies = array())
    {
        $source = '<script>'.$source.'</script>';

        return $this->write($name, 'script', $source, $dependencies);
    }