ccg-render.html: work with refactored JS