timezone sniffer in javascript.