Make turbolinks and SSE work together

This is a dirty hack using a global JS variable to ensure that
multiple EventSources do not get initialized.