Refactor frontpage.js
Add clarification comment
Refactor feed directive
Revert directive
Format feed directive