Checkerboard with Three.js with a randomize and change theme functionalities