JavaScript function to test case insensitive (except special Unicode characters) string comparison