[Mobile] Client script having more than one function is not working on mobile interfaceDescriptionClient scripts that have more than one function are not working on the mobile interface. The browser is returning the following error:Could not load onLoad client script 'Populate Roles and Hide Variables': SyntaxError: Unexpected token function Steps to Reproduce Login to the base system Eureka demo. Navigate to catalog client script: [Populate Roles and Hide Variables] applied on the catalog item: [Delegate roles to group member]. This catalog item is available for Mobile. For above catalog client script, set the UI type as [both] so that it can be utilized in both Mobile and Desktop. Navigate to the mobile interface $m.do. Navigate to Catalog item: [Delegate roles to group member]. Note the Javascript error in console: Could not load onLoad client script 'Populate Roles and Hide Variables': SyntaxError: Unexpected token function WorkaroundFor a client script to work as expected in the Mobile UI. All the code must be contained within the script's onLoad, onChange, or onSubmit function. Additional functions can be nested within this function.Related Problem: PRB605992