Let's always have JavaScript objects for calendar

...and as a bonus let's normalize the href attribute by placing a # if events.url is empty