pull-request-28

- [ ] Move this code into one of the ready methods provided by AUI & Portal.
 - `AUI().ready()`
 - `Liferay.Portlet.ready()`
 - `'allPortletsReady'`