I replaced the beginning `(function() {` with `def...
# suitescript
k
I replaced the beginning
(function() {
with
define([], function() {
and put the appropriate return info at the bottom for NetSuite to know what to do with as a module