Updated matching algoritms

.Equals instead of .contains. javasCript contains C, thus 100% match.