Update masonry to 3.1.2, taken from http://masonry.desandro.com/