Getting serious with Secrets of the JS Ninja book

* First little tests of chapter 2, using assert
* Playing with small function examples in chapter 3