Patch raty to work with span elements and classes

This is just a partial commit, to make it work with bootstrap and fontawesome.