Hi Bart,
if you want to rewrite your web interface, you can follow the information in this article. Here, I describe the WebSocket server used to send commands to the printer.
MKS WIFI for Makerbase Robin: firmware upgrade and new Web Socket features – 4
For the current web interface, It’s normal to have some deprecated packages, the package goes ahead, and when they find some issue or add new features, It’s going deprecated.
Bye Renzo