The legacy format was added at the very beginning of vtk.js with very bare functionalities. I would suggest creating an issue Add support for reading Legacy VTK format of version 5.1
with maybe a sample dummy file (small) just to validate.
I’m not expecting that too much work is required to make it work again.