Examples from the book, Rapid Prototyping with Javascript