Update waterfall.js