Update pokedex.js

Copypasted from server.