Copy Class and Style Attributes from Input

1) Copies the class attribute but filters out the rating class to the glyphicon <span> tag.
2) Copies the style attribute to the glyphicon <span> tag.