The .NET JSON serializers convert the dates when the date is lesser than 1970/01/01 to a string like this (note the minus sign):
/Date(-123456789)/
Modifying the regular expressions below fixes that:
var dateNet = //Date((-?\d+)(?:-\d+)?)//i;
var replaceNet = /"\/Date((-?\d+)(?:-\d+)?)\/"/ig;