Get rid of unneeded js libraries