A generic trigger to notify when all scripts loaded asynchronously are loaded, as found here: https://gist.github.com/3147761