scriptLoader.queue was getting stuck after the first time used.