Hangman is a project mainly written in JavaScript, it's free.
hangman game in javascript
lots of refactorings to do