A JavaScript library to detect if a client is in a particular intranet