I have the following in my template and it keeps coming back as $ is not defined
in the console. However, if I wrap it in a setTimeout of a 500ms, it works fine. Is there a way to wait for Jquery to load without erroring?
$(window).on("load", function() {
console.log("TEST")
});