success callback is now only called when all scripts hve been loaded