JOJ2: Tidy and add code when Thredds isn't up