DRY the footer, connects all to jQueryUI