use jQuery to detect if body/calendar-element is visible and ready for rendering