There is no way of doing that without loading the class.
However, you should use const
instead of var
, this way the class won't be fetched for every instance of your script.
Note: preload
doesn't loads the resource everytime, it does it only once when the script is loaded, and embeds a reference to that resource wherever you store it (var or const).