Simplify worked example notation and equations and clarify JavaScript method success conditions
Merge changes from alternate orientations branch