Google is able to crawl a lot of javascript these days. If you are seeing the text in their index when you search for it, then its indexed!
As far as I know, the text-only cache leaves out javascript. This was especially useful before Googlebot was able to crawl that stuff, so you could see if parts of your content were hidden from view.
I say, trust the SERPs! Text-only is probably leaving out all your (still crawlable) content wrapped in js.