Templating raphael for HTML synteny browser