made util to support appending html