[#38] Bugfixes in index.html and events_controller