The rest of your reply disagrees with your first sentence. It seems that only the people who share ml5.js values are allowed to use the software. There's no problem with that, but they should be clear about it. They should also state clearly that ml5.js is not free or open source software, as its license violates the first principle of Free Software:
> The freedom to run the program as you wish, for any purpose (freedom 0).
And the similar principle in the OSI definition of Open Source
> No discrimination against fields of endeavor: The license must not restrict anyone from making use of the program in a specific field of endeavor. For example, it may not restrict the program from being used in a business, or from being used for genetic research.