Created a function in Section Model to link to a Object function so that dynamically created content can use the object function.
Created Part Model and moved functions from 'scripts/document.js' into the New Model. 'scripts/document.js' was deleted because it is now empty.
Fixed type where 'function' was repeated twice before RemoveSectionFromPart() declaration in Part Model.
Updated file to use functions from the Part Model instead of 'scripts/document.js'
Moved 'scripts/managePermissions.cfc' to 'controllers' folder. Made it into the Permissions Controller (permissions.cfc).
Created Permission Model and moved functions from 'scripts/managePermissions.js'. Deleted 'scripts/managePermissions.js' because it is now empty.
Corrected location of Core Controller in the 'Extends' parameter of the Permissions Controller.
Corrected Permission Model where 'function' declaration was missing in two parts. Added confirmation before removing usertypes.
Updated file to use function from the Permission Model instead of 'scripts/managePermissions.js'