Fixed ajax voting for basic rating types (non-polls). Needs work, a lot of code redundancy in the old code.