javascript check if string contains unicode characters