ljharb: that was the rub, is that it was just var type = Date;