A javascript template engine for creating plug-and-play browser plugins