Update spritz.js

Extracted bestLetter into its own function.