You want masonry:
http://masonry.desandro.com/
http://salvattore.com/
http://masonjs.com/
A couple of options to get you going bud.
; )