masonry js stored on server