Update coat.js