Javascript Array Map Without Undefined Sols Rng