Add init/fini fucnction defs to plugin web pages