Uses javascript to hide unrelated posts