SVG-Based-Star-Rating-Widget is a project mainly written in JavaScript, it's free.
SVG Based Star Rating Widget
This is a SVG based star rating widget. The demo files show how to use the widget. The widget can be customised to provide: