JavaScript library composing user interfaces from RESTful web services