Add match quality endpoint and JS