Write CSS using JavaScript