Full refactor jQuery.rating.js