Refactored switch statement into assignment
Removed height attribute from eventTable
Changed update interval to more precise 5s
No more type coercion on checks for equality
Added character encoding UTF-8
Fixed copyright sign for UTF-8 encoding