You can have whatever method you want assigned to ...
# suitescript
c
You can have whatever method you want assigned to a button in a suitelet. Is there an error in the console?