Tag: check if key exists javascript