Cleaning up cpu.js