public function addInternal($script, $pos = 100, array $attr = array())
    {
        $attr = $this->attr(null, $attr);
        $tag = "<script $attr>$script</script>";
        $this->addElement($pos, $tag);
        return $this;
    }