JS library for managing chunks in the webclient