append element not html to preserve events