Messing around with examples from "JavaScript: The Good Parts"