Dear @evey_k
have a look here:
https://laytheme.com/documentation.html#custom-javascript
Also yes, you can embed all kind of libraries.
But because LayTheme is built as a single-javascript app, some syntax might collide, or does not work.
I recommend to test yourself through…
Best!
Marius
PS: We are working on a PHP frontend