js redirect no longer needed