I think you forgot to take care of the 100 modules in your logic as in this section:
if (n === 0 || n != 1 && (n % 100) >= 1 &&
(n % 100) <= 19 && n == Math.floor(n)) {
return 'few';
}
I made a PR with that conditionals too, but your solution was great! Cheers!