attached coffeescript to rate buttons