added absolute links to header menu instead of relative in order to make local env work
cleaned up book code