Don't do reset before the dom is ready