Adapt js for whois online