update JS library