Add RequireJS example
Updates and fixes for version 2 of book