fix a typo in hosts.js