@westonruter
That may provide some benefit, but it would be very difficult to reliably parse JS code to try to detect class names as well as any other changes that JS may make to a page, like toggling attributes, creating elements, and so on.
Well, I think you’re right, but it seems so easy for the first sight.
I’m glad you’ve come to this conclusion. We’ve concluded the same and that’s why we’re so invested in the AMP plugin as a way to democratize performance and help publishers succeed on the web.
It’s pity that seems Google doesn’t affect this parameter on search results (it’s working the same way with Google My Business, when all have keywords in company name), that’s why old and unoptimized websites are on top, but I hope it will take effect soon.