Add calendar.js helper for finding free periods