remove references to assertEq to enable use in browser
fix definition of ArrayType.prototype.buildPar