adding event creation ajax