is there a reason for keeping it in the same file?...
# suitescript
e
is there a reason for keeping it in the same file? is the logic of the two scripts related? If the only purpose of your UE is to add the button, then it probably makes sense, but if your UE does a bunch of other business logic, I would recommend separating out the click handler and its logic