Added document ready trigger.