document ready event add

Load AJAX only if document ready