Added JS logic to use HTML5 to detect location on events calendar