Move unflag_all from fof.js to the view. Move mark read from fof.js to pageview object.