append ht to added div
fix syntax