Added imagesLoaded plugin for use with masonry.

Fixes a bug in Chrome and Safari where panels might overlap until the window is resized.

Cleaned up some closing tags in <head> too