Make js/first_100_primes multi-language
Make module dependency setup only active if config file is present.
Make the default check be a little more amenable to future expansion.