Masonry layout fix

This is a possible fix by moving the script to the bottom of the webpage