trying JS for redirect