rename 'due-date' is as 'due'

The element ids need to be valid JavaScript identifiers.