Exiting court.html  use of JavaScript.