add json handler for posts/destroy
asynchronous post deletion