public function add_js($js) {
        $current   = $this->dwoo_data->js_files;
        $current[] = $js;
        $this->dwoo_data->js_files = $current;
    }
public function add_js($js) {
        $current   = $this->dwoo_data->js_files;
        $current[] = $js;
        $this->dwoo_data->js_files = $current;
    }
public function add_js ( $ js ) { $ current = $ this -> dwoo_data -> js_files ; $ current [ ] = $ js ; $ this -> dwoo_data -> js_files = $ current ; }
Add Javascript files to template

@param string $js
Add Javascript files to template