I\'m trying to develop a library which generates an HTML sidebar and allows the user to click buttons to call certain library functions. This would be linked to a number of