Dynamically Adding Checkboxes From Multi-Select JQuery UI Widget

Dynamically Adding Checkboxes From Multi-Select JQuery UI Widget

I'm using Eric Hynds jQuery MultiSelect Widget that is being populated from a javascript file. I'm trying to dynamically attach a checkbox with the value of the selected checkbox to a 'Main' checkbox If a 'Main' is checked. When added the value will already be checked, allowing user to uncheck. To help illustrate with comments inside:  http://jsfiddle.net/3u7Xj/7/

Link to same post with code since this exceeds 'post limit'http://stackoverflow.com/questions/21285662/dynamically-adding-checkboxes-from-multi-select-jquery-ui-widget
Concept of dynamically adding checkbox on check/click: http://jsfiddle.net/KPkJn/9/

Any help would be greatly appreciated.