結果 : javascript check if element contains attribute