JavaScript library for modeling and solving the 3x3x3 Rubik's Cube