結果 : check if html element is empty javascript