You may also do:
wd
represents window || document:
- wd.location.assign(wd.location.href) :
go to the URL
- wd.location.replace(wd.location.href) :
go to the URL and replace previous page in history
- wd.location.reload() : reload page from server/cache/cache