allow tagName as first arg to renderElement