Check IP and hostname location.

Javascript is required.