js Date parsing bug for GMT-1 timezone, fixed using Moment.js