making demo html consistent with demo js