Fix JS document ready