before dynamic html