Code for "Single Page Web Applications" book