Change fivestar_field_formatter_view() to render the item regardless of the style, and add support for the user style and properly exposing the widget's onclick handler. Change _fivestar_field_formatter_view_pageshow() to also theme the widget, not just the average. Change fivestar_field_widget_form() to pass along the allow clear, ownvote, and revote settings. Change _fivestar_widget_click() to only rate on exposed widgets who have an entity_id, the others will be handled by the form submission. Move the services to the bottom of the file.