Corrected mistakes in cpu.js