initial badge support using JSCustomBadge