def auto_link_js
      auto_link_paths.map do |path|
        asset_exists?(:javascript, path) ? js_include_tag(path) : nil
      end.compact.join("\n")
    end
def auto_link_js
      auto_link_paths.map do |path|
        asset_exists?(:javascript, path) ? js_include_tag(path) : nil
      end.compact.join("\n")
    end
==== Parameters
 none

 ==== Returns
 html<String>

 ==== Examples
 We want all possible matches in the file system upto the action name
 for JS. The reason for separating auto_link for CSS and JS is
 performance concerns with page loading. See Yahoo performance rules
 (http://developer.yahoo.com/performance/rules.html)