In the past couple years the Google spider has made big progress toward being able to crawl javascript, iframes, and ajax. According to Google and Matt Cutts, it also depends on how the code was written. Read this recent interview. http://www.stonetemple.com/articles/interview-matt-cutts-012510.shtml
yes google should do that, more and more websites are now creating with jquery, ajax, javascript, so google must have plan to read more javascript.