added some jquery for show/hide functionality on table