https://medwaysound.uk/wp-content/plugins/booked/includes/add-ons/woocommerce-payments//js/frontend-functions.js