refactor posts.coffee, refine names