removes the pillbox JS interactions