When serving a Motion application, it would be nice to be able to connect to it & query it with a JS / TS library.