Date parsing via date.js on FF and legacy browsers