javascript change web page title

JavaScript
document.title = "My New Page Title"; //change/set page title in JavaScript
Source

Also in JavaScript: