The reason is as follows:
On the main Opportunity form, FS.Opportunity.Library.Load has been added as an OnLoad event handler. However, the following scripts were not added to the form's Form Library list:
The event handler and the three libraries were added to a new "Field Service Information" form that got deployed as part of Field Service. Adding the libraries to the main form resolves the issue.