Classic Magic cube html5/css3/javascript