Plain javascript dns