Redirecting to a specific page in javascript

Redirecting to a specific page in javascript:

window.location = “not_proccessed.php”;

Reloading the current page using javascript:

window.location.reload();