[FOLLOWUP][FEATURE] JavaScript-based icon API