Redirecting to Download Single Page Web Applications PDF after seconds