remove nonused libs from html