public function create(array $args) { if (self::$loaded === false) { self::$loaded = true; $this->appendScript(); } return parent::create($args); }