Changed exports syntax for date.js