結果 : javascript check if nested object exists