Simple calendar view in JavaScript with a smart system to avoid overlaps.