Glue up widgets test page

Widget code modified

Default widget code