code: protected function add_scripts( $name ) {
  
  		$params   = $this->rating->set_movie_params();
  		$settings = Module::CustomRatingGrifus()->getOption( 'assets', 'js', $name );
  
  		$settings['params'] = array_merge( $settings['params'], $params );
  
  		WP_Register::add( 'script', $settings );
  	}
docs: Add scripts.
  
  @param string $name → script name.