Js Check If Dictionary Has Key