fixed js adding card with highlighting