One thing that you can do but it's kind off agains...
# suitescript
m
One thing that you can do but it's kind off against TOS is offload as much of the logic as you can to suitelets and have your client script call the suitelets