adding js card