I guess I'm not sure why you need access to the DOM; you just need to make your common functions available to both your UE and your CS by extracting them into a common library module
09/05/2017, 3:05 PM
Some records don't support deploying a client script to (i.e. promotions). Which is what I was working with. In this case I wanted to set the client script with a user event script and then call the function from a DOM event, like field change.