Fix Reward.js