JavaScript Reference
From BeamNG
The UI is basically a single Page Website running in a CEF instance on top of the game itself.
The communication with lua happens mainly through Streams and Hooks.
As Framework we currently use Angular combined with Angular Material.
For App Basics please have a look here: My_First_App.