Note that the js and css is not minified so it is readable. See reorderable-tabs.js for the tab creation code.