Removing extraneous console.log messages.
Remove debug, fix instance where custom date formats may cause errors