complete ajax functionality on comment submission