Updated the alert() primitive to have a timeout.

  The timeout defaults to 60 seconds, and can be changed
 by the user:

   alert( "foo" )  -> Show the message "foo" until 60 seconds have
                      elapsed, or the user presses RET.

   alert( "bar", 5 ); -> Similar, but cancel after five seconds.