Amending the functionality to support readOnly custom messages on title elements.

var ratyConfig = {
	hints: [ '', '', '', '', '' ],
	readOnly: true,
	path: '/resources/img',
	targetText: 'The average rating is {score} - click for more details',
	score: function() {
	    return $(this).attr('data-score');
	}
};