Did you want a random page on refresh?
Server side would be better for this. But if you wanted to do it client side, then just have an array of URLs and use the document.location.href attribute (randomly selecting a loaction).
Of course you couldn't have the random href set onload, otherwise you would trap your client in an infinite loop. Assign it on unload.