card show javascript in head, footer design