All third-party plugin JS files are located in src/main/assets/js/vendor and their CSS files are in src/main/assets/css/vendor. Just remove unwanted vendor JS / CSS files from vendor folders and then remove unwanted functions from src/main/assets/js/main.js.