speculative pre-fill of the IP based on the name
refactor and only pre-fill IP if its unique (thanks to Peter for the suggestion)
Merge pull request #42 from mvo5/feature/js-prefill-ip

speculative pre-fill of the IP based on the name