You can include custom JavaScript libraries in your WebFOCUS Report FOCEXEC by inserting the following line near the top of the procedure:
SET JSURL='&ESRIJSURL yourFile.js'
where:
Is the name of the JavaScript library you want to include.