Update lib/kraken.js