Pac-Man, 100% javascript