A JavaScript based engine for geographic IP lookups