JS library to manage chunks for the web client