Check out this short post from Livz.org on WCF interop with Javascript.