added ajax capabilities to comment model