simplified dom element creation