add document ready for default script