use redirected js