original_string: public function setJs($script, array $options = array())
      {
          $options['type'] = 'js';
          $options['asset'] = $script;
  
          return $this->asset->set($options);
      }
code: public function setJs($script, array $options = array())
      {
          $options['type'] = 'js';
          $options['asset'] = $script;
  
          return $this->asset->set($options);
      }
code_tokens: public function setJs ( $ script , array $ options = array ( ) ) { $ options [ 'type' ] = 'js' ; $ options [ 'asset' ] = $ script ; return $ this -> asset -> set ( $ options ) ; }
docstring: Adds a JS on the page
  @param string $script
  @param array $options
  @return bool|array
docstring_tokens: Adds a JS on the page