added js to the calendar create new event elements