box.style.transform = "rotate(" + 90 + "deg)";
div.style.tranform = 'rotate(' + angleInDegrees + 'deg);';