Using style Instead of setAttribute: a JavaScript Example