JS unavailable fix