jquery fix for setting date to current date in logsession view