fixing js tagName uppercase