pruned unneeded js