The current events extension is computing the statuses at build time,
which is getting incorrect when an event is outdated until there is
a rebuild. This change fix that by doing the event status computation
at load time in javascript.
Moreover this change removes an unused import in utils.
Change-Id: Ifd1b84ff0182cf9bb7950da3d59f36c83019ac30