Add mainUrl for events.json in main page