Add correct content type to json reply
Ajax query for fetching events data from server
The very simple end-to-end functionaluty is now ready