original_string: public static function js($content) {
          try {
              $minifier = new MatthiasMullie\Minify\JS($content);
              return $minifier->minify();
          } catch (Exception $e) {
              ob_end_clean();
              $error = $e->getMessage();
          }
  
          $return = <<<EOD
  
  try {console.log('Error: Minimisation of JavaScript failed!');} catch (e) {}
  
  // Error: $error
  // Problem detected during JavaScript minimisation, please review the following code
  // =================================================================================
  
  
  EOD;
  
          return $return.$content;
      }
code: public static function js($content) {
          try {
              $minifier = new MatthiasMullie\Minify\JS($content);
              return $minifier->minify();
          } catch (Exception $e) {
              ob_end_clean();
              $error = $e->getMessage();
          }
  
          $return = <<<EOD
  
  try {console.log('Error: Minimisation of JavaScript failed!');} catch (e) {}
  
  // Error: $error
  // Problem detected during JavaScript minimisation, please review the following code
  // =================================================================================
  
  
  EOD;
  
          return $return.$content;
      }
code_tokens: public static function js ( $ content ) { try { $ minifier = new MatthiasMullie \ Minify \ JS ( $ content ) ; return $ minifier -> minify ( ) ; } catch ( Exception $ e ) { ob_end_clean ( ) ; $ error = $ e -> getMessage ( ) ; } $ return =  <<<EOD
  
  try {console.log('Error: Minimisation of JavaScript failed!');} catch (e) {}
  
  // Error: $error
  // Problem detected during JavaScript minimisation, please review the following code
  // =================================================================================
  
  
  EOD ; return $ return . $ content ; }
docstring: Minify JS code.
  
  @param string $content
  @return string minified JS code
docstring_tokens: Minify JS code .