As it evolves, Googlebot is able to follow Javascript linksmore and more. Used to be it was a widespread truth, use html over javascript because Google threw rocks over that. The new question we see is, "Do we want Google to see what's on the other side?" since it was believed hidden for so long. The biggest news out of this seems to be adding a "nofollow" tag to the javascript though that goes against years of mixed advice about the posible negative affects using nofollow tags for ad links. Truthfully, we don't know, we're waiting for an answer from higher up than us and look foward to passing that information along if it comes back.
Experience has shown us that reducing javascript in our pages, ads or tracking, it hasn't mattered, improved search ranking sometimes as soon as the next crawl. This has been working up untill last week at least, we'll see what happens, eh? At this point, the trial is going to be adding the nofollow attribute to javascript links on a few sites, but will check the pagerank of the landing page first. in most cases, search boxes that lead to dynamic pages will flow page rank from your site. Common sense says there's probably no risk in putting nofollow into links that lead to anything dynamic.