Make isNaN assert valid for nodejs <= 0.6.