Change _downKeys from Array to Object

Submited these to https://github.com/limikael/p5.js/pull/1 but @limikael had no time to analyze and commit them!