Javascript Dictionary Key Exists In Dictionary