good morning, I have a script that accesses the document object and runs great in the chrome console in both Edit and View modes, but when I run it as a User Event in NetSuite, I get a ""document" is not defined" reference error. The script also works fine as a Client Script in PageInit, but that won't fire in view mode. Any suggestions?