Added JavaScript to allow linking to tabs.