move mark-unread handler close to mark-read handler
merge js/post.js and js/libertree/posts.js
combine var declarations