Fix js error in media_draggable when ajax comes back.

From #5354.