Update announcement.js

- Refactored social methods