The official book source for the book, Functional JavaScript by Michael Fogus from O'Reilly.
You may use any of his source code under the terms of the MIT License.