I have an AEM page with multiple components, these components have a .js file with a function that encloses all the client side logic. We then call that function inside the