be more restrictive about what qualifies as an html widget in the viewer pane