Removes unused code in boot.js