Using onShow instead of onRender.
This will allow me to access objects that have been rendered but haven't been appended to the page.