Sponge.js is a javascript library that makes interaction with SharePoint 2010 a lot easier!