Fix odd behaviour of 'incrementing user selected end date by one day'

See also #3 

This changes the calculation to avoid assuming (3600000 * 24) is always the same as 1 day.

Additionally, it removes the addition of a day to the user selected end date - this was behaving oddly in some scenarios.

    lend = date.getTime() + (3600000 * 24);