Sometimes I need to parse ISO8601 date directly in js, so I use this function, taken from here

 function parseISO8601(str) {
     // we assume str is a UTC date ending in 'Z'

     var parts = str.split('T'),
     dateParts = parts[0].split('-'),
     timeParts = parts[1].split('Z'),
     timeSubParts = timeParts[0].split(':'),
     timeSecParts = timeSubParts[2].split('.'),
     timeHours = Number(timeSubParts[0]),
     _date = new Date;

     _date.setUTCFullYear(Number(dateParts[0]));
     _date.setUTCMonth(Number(dateParts[1]) - 1);
     _date.setUTCDate(Number(dateParts[2]));
     _date.setUTCHours(Number(timeHours));
     _date.setUTCMinutes(Number(timeSubParts[1]));
     _date.setUTCSeconds(Number(timeSecParts[0]));
     if (timeSecParts[1]) _date.setUTCMilliseconds(Number(timeSecParts[1]));

     return _date;
 }

Actually I tried using date.js but for unknown reason, Date.parse function returns null.

Update: Now moment.js is my choise for doing this like this