1st part of notes on the oreilly screencast, testable js