def compress_js(paths)
      if (jst_paths = paths.grep(Jammit.template_extension_matcher)).empty?
        js = concatenate(paths)
      else
        js = concatenate(paths - jst_paths) + compile_jst(jst_paths)
      end
      Jammit.compress_assets ? @js_compressor.compress(js) : js
    end
def compress_js(paths)
      if (jst_paths = paths.grep(Jammit.template_extension_matcher)).empty?
        js = concatenate(paths)
      else
        js = concatenate(paths - jst_paths) + compile_jst(jst_paths)
      end
      Jammit.compress_assets ? @js_compressor.compress(js) : js
    end
CSS compression can be provided with YUI Compressor or sass. JS
 compression can be provided with YUI Compressor, Google Closure
 Compiler or UglifyJS.
 Concatenate together a list of JavaScript paths, and pass them through the
 YUI Compressor (with munging enabled). JST can optionally be included.