managing modules made similar to managing permissions

applied jquery-ui for accordion and switch-checkboxes.