New cross-browser datepicker and cleaned/updated javascript stuff