Fix typo
Inject local jQuery, improve error handling
Rewrite rating result with score range of (0, 1) and weight

With a unique score the rating functions are comparable. With the
score weight ratings can be prioritized.