pop this code into the top of your page that you want to reload or jump to. The number is the number of seconds to wait.
Replace "push-x.html" with the name of the page you want to load or jump to. It's not javascript, but it will do what you want