add domain in js