private function addScriptBefore($script) {
        $script = trim($script);
        if ($script != '') {
            if (strpos($this->script, $script) === false) {
                $this->script = "
				 {$script} 
				 {$this->script}";
            }
        }
    }
private function addScriptBefore($script) {
        $script = trim($script);
        if ($script != '') {
            if (strpos($this->script, $script) === false) {
                $this->script = "
				 {$script} 
				 {$this->script}";
            }
        }
    }
private function addScriptBefore ( $ script ) { $ script = trim ( $ script ) ; if ( $ script != '' ) { if ( strpos ( $ this -> script , $ script ) === false ) { $ this -> script = "
				 {$script} 
				 {$this->script}" ; } } }
this method add the init script into the first of scripts

@param $script
this method add the init script into the first of scripts