Checking if document ready works on mobile