Sage 9 - Setting defaults for Foundation JavaScript components

Foundation 6 allows you to set default for components via JavaScript.

For example the top margin for the Sticky component can be set globally via:

Foundation.Sticky.marginTop = 0;

Previously in Sage 8, I’d be able to set these defaults in Sage’s common init method, but doing so in Sage 9 throws an error.

7:5 error 'Foundation' is not defined no-undef

Any ideas how to do this properly?

Thanks for any help you can provide.