Clean unneeded js