Fix and improve switching kind in JQuery::Object#initialize