You would put this into the client script within the widget that has the directive you are looking to adjust.