A typing game in JavaScript