header links and js redirect