begin chapter on common JS techniques