Html Javascript Check If Array Of Strings In Cpp