Minor point but I prefer `Array(options[:extensions])` to `(options[:extensions] || [])`. The former allows `options[:extensions]` to be `"foo.js"` rather than `["foo.js"]` if they only have one extension.