updated posts.js.coffee