code: def compress_js(self, paths, templates=None, **kwargs):
          
          js = self.concatenate(paths)
          if templates:
              js = js + self.compile_templates(templates)
  
          if not settings.DISABLE_WRAPPER:
              js = settings.JS_WRAPPER % js
  
          compressor = self.js_compressor
          if compressor:
              js = getattr(compressor(verbose=self.verbose), 'compress_js')(js)
  
          return js
docs: Concatenate and compress JS files