Reset html index values on successful render