Apigee My Book example:  simplifying the jQuery code.