check server config on document ready