reworked blog masonary JS