Removing unused Js code.