Javascript based Rubik Cube Solver