Is there a way to perform javascript operations immediately after a renderUI?

Also related: