calendar.js clear editContent div before creating

was duplicating content in some circumstances