update javascript to use the new api routes
update javascript to use the new api routes

Later on the old routes will be removed, so it is a good idea
to start using the new ones

mess110/detection,mess110/detection,mess110/detection,mess110/detection,mess110/detection,mess110/detection