add main_post.js to posts