css tweak js addition

rob, changed the tag for the title css so changed that over

added the js function I used in requests so kacy won't be able to
accidentally set the end time earlier than the start time

I can pull that function out into a separate js file later then we can
take out the function code from this file and the request page