all /ui in one js viewport
refactor, adding /api/indexes