Usng RxJS for events on the web