updating domain name js variable