added Post.get() to posts.js