Changed the hostname from localhost to window.location.hostname.
Merge branch 'master' of https://github.com/deerwalk/voltdb