javascript based pacman game