Midway through the JS refresh function...