js redirect, nav fix