var div = document.querySelector(".lightblue");
var style = [
"background-color:lightblue;",
"width:100px;",
"height:100px;",
];
var strDivStyle = "";
for(var i = 0; i < style.length; i++) {
strDivStyle += style[i];
}
div.style.cssText = strDivStyle;