We actually just need a way to override JHtml calls. That would solve a lot of this issues.