Bug: can't submit for ranking

When I change my code, it does not show any win messages with ‘rank’ button. The button in ‘My matches’ becomes available, but it does not work ( seems that the error happens during request construction).

It sends the request, but the request json contains the error message:

line 2788 column 69 in app.js
message: “TypeError: this.readyToRank is not a function”

Sorry about that; I have since fixed this. Let me know if you spot it again.