Update post.js

add delete feature