Here you can find the source of hide()
Element.prototype.hide = function() { this.style.display = 'none'; };
Element.prototype.hide = function() { this.style.display = "none" return this
Element.prototype.hide = function() { this.addClass("hide"); return this;