An easy way to cheat is to add your custom code as a condition. Conditions are loaded with the main js file. You can also in your condition do something likewindow.setTimeout(function(){ /*really load*/}, 1000) which defers the execution of the code for another second.