add document ready in the settings.html