Implemented combinePost.js