(function() {
var a = Date.now() + 3000;
var b = setInterval(function () {
if (Date.now() > a) {
clearInterval(b);
location.reload();
document.location.reload();
}
}, 1000);
})();