Assigning a JavaScript Redirect: an Example