`jQuery.type()` is being deprecated: https://github.com/jquery/jquery/issues/3605