Fix tabbed sidebar widget script loading functions