In my project, we want to implement the JOSM validator in the front end side with js. Is there any existing library for this point? For JOSM validator, it is something like this described in the following wiki: https://wiki.openstreetmap.org/wiki/JOSM/Validator