Implement window variable to store host name
Merge branch 'master' of github.com:LukeSwart/ecometrix_site