JS: Get domain name(include protocol, port)