Here's an open source implementation of LINQ to JavaScript that I started.

http://codeplex.com/jslinq