Various minor doc fixes

Also turned a random `Array.prototype.slice` into just `slice`.