im curious now though if you can just use a module...
# suitescript
c
im curious now though if you can just use a module and not set the client module path ... would depend on what all you are doing but if its just doing 1 function on the click of that button, a module should be fine (but haven't tried it)