basic VDOM compiler support for widgets