We (thoughtbot) just released Jester, an implementation of ActiveResource in JavaScript. It's just beginning, but it supports CRUD operations, validation errors, and associations. The syntax is nearly identical to ActiveResource's.
Check out our blog for details:
Thanks, Eric