6-3. Making Player Work with JavaScript