How to execute JS after post content has rendered?

You could possibly queue this after next runloop, like this.