unified active links in view/common.js