js: fix tld replacement