Convert lib/*.coffee to JS

awesome_rating.js should probably be tested first as there were quite a few manual changes.