Firing script after Justuno has loaded

Some customers would like to ensure that specific JS is firing AFTER Justuno is completely loaded since our pop ups load in an iFrame. To load specific script after Justuno you have two options:

1) Our widget will call the following global function if it exists “ju_init()"
2) There is a global variable that will = true once initialized “ju_initialized"

For example:

function ju_init(){

//do your stuff