Add javascript in widget

Add javascript in widget

Hi, i would like to ask how to add JavaScript that will communicate with API in the widget for the requester section or if its possible to add a JavaScript button along with html code in requester widget

Thank you 

                  New to ADSelfService Plus?