[minor] Added resource loading to the pagelet.
[minor] Emit `destroy` so we can add additional hooks.