Smart Card pincalculator by node.js