removes unecessary HTML shims