Update commands.js

Improved version of the badge system, ignore the previous one. This script won't work until we apply a Gym Leader rank. I'll do that later so it suits this code.
Fix merge conflict