add url redirection with js