Javascript Compare 2 Strings In C