In details.html fixed event.event_type to return string.