Simplify/clean up the unread and notification code
Add Favio.js support. Fixes #28