Cleaning up obsolete classes and unused JS libraries