Fix the Wolfgame.autocomplete() function that everybody hates