kraken js basic