fix displaying social icon so that it displays with js formatted time
make sure update posts from js has new html structure
Revert "make sure update posts from js has new html structure"

This reverts commit 3ccb870e4dc20d6190ddfd3cc0d8609ec28ddbfb.
fix bug in formatDate.js loop
update shared.js to reflect new html structure