setup ajax callbacks for comments