delint jquery.raty.js

CodeClimate drops my project from A to D when I add ratyrate,
all due to jquery.raty.js.
This is a fix of all the lint errors that CodeClimate complains about,
except for the 'bad line breaks' inside the ternary operators.
I am unable to run the test suite -
I am getting a complaint about not being able to find rspec/auto.
So please test before merging!