replaced div and used domconstruct