Update pokedex.js

Sorry, the last one was faulty. This one should work, though.