Removed uneeded HostNames in javascript sample