Rubicks cube in CSS and JS