added additional rewrite 2 regexes to link.js