Ok, this is cheesy, but it should work: Wrap your external script with init ():
eg. (and I'm just guessing here)
var myModule = { init: function {
Then put the script back in the header tag and add the script tag at the very bottom of the DOM markup
<script> myModule.init(); </script>
Again, I would not recommend it normally, but if you need to avoid checking the loaded DOM event, what would I do
source share