Rating stars second

Doesn't depend on width of star.
With react, you never want to manipulate the DOM directly. Instead, you'll want to set state and let the render method handle updating the widget to the right class names, etc.