public function clearJavascripts() { foreach (array_keys($this->getJavascripts()) as $file) { $this->removeJavascript($file); } }