Use getTime method instead of implicit conversion

This doesn't change anything in the behaviour, but it encourages good js
practices.

See also performances http://jsperf.com/date-timestamp
Merge pull request #605 from potomak/feature/remove-new-date-conversion

Use getTime method instead of implicit conversion