Update kittyMaze.js

Tried fixing event listener