How to refresh the page using Ajax? I mean pure Ajax, without any libraries used
You don't need Ajax -- just vanilla javascript will do:
location.reload();
There are several ways to reload the current page using javascript:
location.reload()
or
history.go(0)
or
location.href = location.href