updated IP to use window.location.host for automatic detection
Merge pull request #3 from netpoetica/master

updated IP to use window.location.host for automatic detection