One day JavaScript calendar that displays events entered into the console