From https://github.com/jquery/jquery-mobile/issues/5532