[javascript] typing game