Entropy, not length
Every extra character multiplies the search space by the size of the pool. The entropy figure is length × log₂(pool), and 80 bits is a sensible floor for a master password.
Randomness source
Characters come from crypto.getRandomValues, the browser CSPRNG, rather than Math.random. Nothing leaves the page and nothing is stored.
Passphrases
Four words from a 128-word list is only about 28 bits. It is easy to remember and fine for a low-value login; do not use it for email or banking.