DOM Object validation