Fix date.js