fix nodejs/browser detection for chrom[e|ium] 31