Upgrade to rest.js 1.2.0