This is a hack, we still need a way for client side code to access the generated Pagelet instance without leaking it to other Pagelets. Ideally we should wrap the `Pagelet.js` in some sort of closure which sets or receives the `pagelet` as variable.