fixed Array.prototype.join() for sparse arrays and the new length code