add comment functionality via ajax call