Code formatting on ajax example