Use a DRY regex

Completely trivial, but it’s easier to use a positive lookahead and replace `next` with `now` rather than replace `.next.js` with `.now.js`.