Structure's JavaScript API provides ways to extend the client-side functionality of the Structure plugin.