support for kraken.js that I forgot to commit