get host name from JS for LAN publish