Ability to mark shreds as similar/from the same page

JS is shitty, we need to talk about it and reconsider implementation details.