A template for Firefox and Safari plugins that helps communicate between content scripts and plugins