change js for tabbed dashboard to jQuery Plugin