Regex for matching JS files fix.