A 3d javascript rubiks cube using the three.js library