def all_javascript_paths
      all_paths = []
      all_paths += @javascripts
      all_paths += @background_scripts
      all_paths += @content_scripts.map { |cs| cs.javascripts }.compact
      all_paths.flatten.uniq
    end
def all_javascript_paths
      all_paths = []
      all_paths += @javascripts
      all_paths += @background_scripts
      all_paths += @content_scripts.map { |cs| cs.javascripts }.compact
      all_paths.flatten.uniq
    end
Return all the javascript paths in the spec, included those nested
 inside other objects