Personal exercises from the book Secrets of the JS Ninja