maxmind ip lookup module - pure js