update javascript cookie and delete jQuery ui accordion for bootstrap accordion