Updates to handle buddycloud.js and API changes