Create cardinfo.js