The development could be more easy if AC can support the npm packages and we can install and use it as we do in a NodeJS code.
Using JavaScript is a great way to deal with may problems. But writing every code from scratch is tedious as well as error-prone. If we could use a trust-worthy package, we can save a weeks effort and a months maintenance.
Currently we could add packages to configuration>javascript codes section only if the package is available as a single file like a min.js version.