Updated comments_controller to correct ajax function