pillbox 3.0.0 index js change