Added event callback fro when all scripts have been loaded.