In category.js added loop to find social sites

Doesn’t work though. :(