I want to attach a timestamp to my querystring in order to ensure that the browser bypasses its cache when I refresh the page via javascript. I need to account for an exist
var newLocation = window.location.href.replace(/\?.*(ts=\d*)/, "ts=" + new Date().valueOf());