cocoon.js updated