and it has to be done on the client script in this...
# suitescript
s
and it has to be done on the client script in this case