You can now get access to common helper functions or specific actions taken on a website with the new JavaScript API (JS API).
It can be used in conjunction with JavaScript code for Widget Builder or with individual responsive websites.
Find further details about the JS API at the Duda Developer Portal.
https://www.dudamobile.com/developers/js-api/docs