This is something I am working on to help me learn about HTML, JavaScript, and CSS! It only supports the 3x3 but you can use it for a 2x2 (I am going to add more cubes but just don't have the motivation to do it). Hope you learn about this too! Only used in chrome but could be supported for other browsers.
Why do you think that https://github.com/TriMill/sca is a good alternative to Rubik-Scrambler