A simple 2d Rubik's Cube written in Javascript