Look up hostname
Move javascript