How to import JQuery to custom dnn module-Collection of common programming errors
If jQuery is required, try downloading the jQuery library and placing the jQuery script file in the same location as the other script files, and ensure that the jQuery library is reference before any other script files that require jQuery. For example:
However, the Masonry documentation suggests that jQuery is not required to run the plugin, so your problem may lie elsewhere
jQuery is not required to use Masonry. But if you do enjoy jQuery, Masonry works with it as a jQuery plugin.