Normally JS can not be removed (MXClientsystem also contains javascript) . Make sure that jsactions don’t contain sensitive data and all the microflow calls and other request are secured on the server (correct roles, no anonymous access) so your system is save.
If your really want this, replace all nanoflow with microflows.