A magic cube by javascript and css3