Javascript library for asynchronous data streams