JSLint compliance for automatch