Merged changes from https://github.com/kamui/ajaxful_rating_jquery