Add ajax functionality for creating comments