Remove unused code and uncomment JS.