What external Javascript are you referring to? Wix handles optimization of code libraries and page rendering. Speed sites use methods that do not necessarily have a full understanding of all of the complex decisions and actions applied by Wix to code and page handling.
If you need further details or clarification, I would recommend contacting the Wix support team , as they can provide more information concerning this subject.