added pageshow event to kickoff datepicker javascript