adding card js