case-sensitive variable name

Javascript is case-sensitive, line 397 use ownedHostNames and not ownedHostnames