You are right that majority of electricity is still produced with fossil fuels, but you are incorrect in assuming that because majority of electricity is produced via fossil fuels, that electric cars produce the same emissions as internal combustion engine. First of all roughly 35% of energy produced in america is either nuclear or renewable. In states like CA renewables is even higher. 2nd and more important, energy production on a large scale if far more efficent per KW than a small internal combustion engine. EPA estimates of MPG on EV take into account the source of electricity production.N it's because most consumers are not intelligent enough to understand where electricity comes from. All they know is that someone told them its "green" so it must be ok. Never mind the infrastructure that would need overhauling and on and on and on.
Given the source of electricity production, EV vehicles are definitely not 100% clean, however they are scientifically proven to be cleaner than the internal combustion engine.