link-to-tab.js (dirty)