Style update and event handler fixes

Resolved bug with emitter functions by moving .on calls out of loops. Updated TimelineView.js styles further.