Add cards to detail page, add js to cal