Delete unnecessary javascript code and library.