stop using hasOwnPropert() in Web maps