Ok, I've added this as an example to our js docs. I'll try to get this out in our release tonight.

Thanks guys!