changes to postscontroller for comments by AJAX