fixing js error with moov deploy