Not OP, but I would recommend backboneJS[1] or underscore[2]:
[1]https://backbonejs.org/docs/backbone.html
[2]https://underscorejs.org/docs/underscore-esm.html