Upgrade to rest.js 1.1.1