Fixed jquery for create event start-date = end-date not working in Firefox.