JavaScript library for receiving live updates of RESTful resources