Appended .js to the default file name in addExternal.