Javascript Pacman 3d