added js card script