Benefits of using style sheet properties in JavaScript