There are many ways to achieving your goal. But originally solution is
location.reload();
Now, i just give you an idea by present some ways to using location.reload.
1:-
if (window.location.href.indexOf('reload')==-1) {
window.location.replace(window.location.href+'?reload');
}
2:-
if(window.top==window) {
window.setTimeout('location.reload()', 5000);
}
else {
}
3:-
window.onload = function () {
if (! localStorage.OnceLoad) {
localStorage.setItem("OnceLoad", "true");
window.location.reload();
}
}