location javascript redirect

JavaScript
window.location.href = "http://mywebsite.com/home.html";
Source

Also in JavaScript: