How To Configure And Host The JavaScript SDK In The Web Server

Might this be what you seek?

https://doc.developer.milestonesys.com/mipsdkmobile/index.html?base=samples/hostonserver_5.html&tree=tree_5.html