function changeTitle(s) { document.title=s; } ... changeTitle('some new title');
"I'm going to become rich and famous when I invent a device that allows you to stab people in the face over the internet"