[minor] Emit with a reference to pagelet
[minor] Set proper classNames