Help Please on my Javascript Problems


I need some help on my JS problems. please. I have been looking everywhere for solutions but can't find any.

I am getting this error on my page and the spacing of the page elements are all over the place.

settings.js?ver=4.5.2:133 Uncaught TypeError: $container.imagesLoaded is not a function

also this:

Uncaught InvalidStateError: Failed to execute 'createPattern' on 'CanvasRenderingContext2D': The canvas width is 0.