Preinitialize Date object for moment.js. Fix #240.
Merge pull request #255 from Locu/moment-init

Preinitialize Date object for moment.js. Fix #240.