Added a datepicker to select the required day.

Also added parsing of GET requests in anticipation of using this with
server-side code.