Remove unused dependencies and rewards.js