JS classes for ML Search API