Rubik Cube in 3D - written in JavaScript