public function &createScript($content, $defer = true, $combine = true, $minify = true): JavascriptObjectInterface
    {
        $obj = new JavascriptObject();
        
        $obj->setType($obj::TYPE_SCRIPT);
        $obj->setContent($content);
        $obj->setDefer($defer);
        $obj->setCombine($combine);
        $obj->setMinify($minify);
        
        $this->addObject($obj);
        
        return $obj;
    }