Fixed IE8 dateparsing issues