a page redirecting to a random post, using JavaScript