Tweak the online bridge to not send excess online events.

It does so by having the JS tell it when online events have fired.