Updated when.js to 3.1 & other deps to newest versions