Javascript Has Key