Using javascript, added a list of checkboxes and 2 links to the div with an id of "foobar", plus "Check All" and "Uncheck All" links