Update apiMintpal.js

added crypto