Trying to build a scalable, maintainable, and extendable user experience on bad markup is like building a house on quicksand.