Exercises from Secrets of a Javascript Ninja by John Resig