signature api: cleanup signature.html, add signature to extensions