refs #17468, more updates to source code comments and examples to AMD syntax, fix example that was in the summary block