public function &block($script, $defer = false)
    {
        $script = new JavascriptObject();

        $script->setType('block');
        $script->setScript($script);
        $script->setDefer($defer);

        $this->add($script);

        return $script;
    }