Refactored comments ajax