Added data the ability to use data- tags in the div to set some options.

data-value for the score
data-readonly to set the field as readonly
data-input to set the id of an input field in a form

This allows me to initialize the rating once in a javascript for all objects of the class .my-rating and then set the options individually in the html code.