public function removeJs($handle = null)
    {
        if (is_null($handle)) {
            return $this->scripts = [];
        }

        if (is_bool($handle)) {
            foreach ($this->scripts as $i => $javaScript) {
                if ($javaScript->isFooter() === $handle) {
                    unset($this->scripts[$i]);
                }
            }

            return;
        }

        unset($this->scripts[$handle]);
    }