public function removeJavascriptVariable($name) { if (isset($this->javascriptVariables[$name])) { unset($this->javascriptVariables[$name]); } }