how to auto refresh page in javascript

JavaScript
<meta http-equiv="refresh" content="30"/>
Source

Also in JavaScript: