Looks like this callback is being executed once for every lib loaded here, which means the carousel gets initialized twice?